﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.Teach.Tpstep2" %>
<%@ Register TagPrefix="Common" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<%@ Register TagPrefix="DT" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<div class="common">
    <div class="topmenu_op">
        <div class="topmenu_oplayer">
            <div class="oplayer_logo"><a href="/"><img src="/Images/newLogow.gif" border="0" alt="<%=GetText("C0053")%>" /></a></div>
            <div class="oplayer_status"><a href="/"><%=GetText("M0001")%></a> | <%=GetText("TP106")%></div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_main">
				<div id="MessagesBox" style="display:none">
					<div class="MessagePanel4">
					<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
						<div id="MessageText">error content</div>
					</div>
				</div>
				<div class="title">
					<h1><%=GetText("TP212")%></h1>
				</div>
				<div class="user_Title">
					<div>
						<h1 class="floatl"><%=GetText("TP208")%></h1>
						<div class="floatr"><span class="grey12"><%=GetText("TP209")%></span> > <strong><%=GetText("TP210")%></strong> > <span class="grey12"><%=GetText("TP211")%></span></div>
						<div class="clear"></div>
					</div>
				</div>
					<div class="Center9001n">
						<div class="Center9001Content">
							<!--Stand content start-->
							<div class="login_area">
							<h3><%=GetText("TP209")%></h3>
							<div class="grey12">(<%=GetText("TP202")%>)</div>
							<table width="800" border="0" cellspacing="0" cellpadding="5" align="center">
								<tr>
									<td width="200" valign="top"><%=GetText("C0004")%></td>
									<td width="600"><div id="sl1">
									<select id="TLang1" class="common220" >
									<%=GetLanguageSelect(usm.MotherTongue)%>
									</select>
									  <select id="TLle1">
									  <option value="3"><%=GetText("C0021")%></option>
									 <option value="4"><%=GetText("C0022")%></option>
									<option value="5" selected="selected"><%=GetText("C0023")%></option>
									</select>
									<span name="__V_S" vt="0" elt1="TLang1" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("UR022")%></span>
									</div>
									  <div style="display:<%=usm.MotherTongue2==""?"none":"" %>" id="sl2" class="margin10">
									  <select id="TLang2" class="common220" >
									  <option value=""><%=GetText("C0061")%>...</option>
									  <%=GetLanguageSelect(usm.MotherTongue2)%>
									  </select>
									  <select id="TLle2">
									  <option value="3"<%=(usm.MotherTongue2Level=="3"?"selected=\"selected\"":"") %>><%=GetText("C0021")%></option>
									  <option value="4" <%=(usm.MotherTongue2Level=="4"?"selected=\"selected\"":"") %>><%=GetText("C0022")%></option>
									  <option value="5" <%=(usm.MotherTongue2Level=="5"?"selected=\"selected\"":"") %>><%=GetText("C0023")%></option>
									</select>&nbsp;&nbsp;<a href="javascript:void(0);" onclick="del()"><%=GetText("C0049")%></a>
									</div>
									  <div id="sl3" style="display:<%=usm.MotherTongue3==""?"none":"" %>" class="margin10">
									  <select id="TLang3" class="common220" ><option value=""><%=GetText("C0061")%>...</option>
									  <%=GetLanguageSelect(usm.MotherTongue3)%>
									  </select>
									  <select id="TLle3">
									  <option value="3" <%=(usm.MotherTongue3Level=="3"?"selected=\"selected\"":"") %>><%=GetText("C0021")%></option>
									  <option value="4"  <%=(usm.MotherTongue3Level=="4"?"selected=\"selected\"":"") %>><%=GetText("C0022")%></option>
									  <option value="5" <%=(usm.MotherTongue3Level=="5"?"selected=\"selected\"":"") %>><%=GetText("C0023")%></option>
									  </select>&nbsp;&nbsp;<a href="javascript:void(0);" onclick="del()"><%=GetText("C0049")%></a>
									  </div>
									  <div id="sl4" style="display:<%=usm.MotherTongue4==""?"none":"" %>" class="margin10">
									  <select id="TLang4" class="common220" >
									  <option value=""><%=GetText("C0061")%>...</option>
									<%=GetLanguageSelect(usm.MotherTongue4)%>
									</select>
									  <select id="TLle4">
									  <option value="3" <%=(usm.MotherTongue4Level=="3"?"selected=\"selected\"":"") %>><%=GetText("C0021")%></option>
									  <option value="4" <%=(usm.MotherTongue4Level=="4"?"selected=\"selected\"":"") %>><%=GetText("C0022")%></option>
									  <option value="5" <%=(usm.MotherTongue4Level=="5"?"selected=\"selected\"":"") %>><%=GetText("C0023")%></option>
									  </select>&nbsp;&nbsp;<a href="javascript:void(0);" onclick="del()"><%=GetText("C0049")%></a><br/>
									  </div>
														
									<div id="TLanShow">
									<a href="javascript:void(0);" onclick="Show()" style="display:<%=(usm.MotherTongue!=""&&usm.MotherTongue2!=""&&usm.MotherTongue3!=""&&usm.MotherTongue4!="")?"none":"" %>" ><%=GetText("TP101")%></a><br />
									</div>	
									</td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("ST049")%></td>
									<td><input type="text" id="Nickname" class="common220" value="<%=usm.Nickname %>"/><span name="__V_S" vt="0" elt1="Nickname" reg=".{1,20}" style="color: Red;display:none" class="validMsg"><%=GetText("TP316")%></span></td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("C0002")%></td>
									<td><%=GetText("C0014")%><br /><select id="Nationality" class="common220"><option value=""><%=GetText("C0061")%>...</option><%=GetCountrySelect(usm.Nationality) %></select><span name="__V_S" vt="0" elt1="Nationality" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("UR027")%></span><p><%=GetText("C0015")%> <span class="grey12">(<%=GetText("C0043")%>)</span><br /><input type="text" id="Hometown" class="common220" value="<%=usm.Hometown %>" /></p></td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("C0008")%></td>
									<td><%=GetText("C0014")%><br /><select id="Country" class="common220">
									<option value=""><%=GetText("C0061")%>...</option>
									<%=GetCountrySelect(usm.Country) %></select><span name="__V_S" vt="0" elt1="Country" reg=".{1,20}" style="color: Red;display:none" class="validMsg"><%=GetText("ST199")%></span><p><%=GetText("C0015")%> <span class="grey12">(<%=GetText("C0043")%>)</span><br /><input type="text" id="City" class="common220" value="<%=usm.City %>" /></p></td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("C0011")%></td>
									<td>
										<table width="40%" border="0" cellspacing="0" cellpadding="0">
											<tr id="Gender">
												<td><input id="Gender1" type="radio" name="sex" <%=(usm.Gender=="1"?"checked=\"checked\"":"") %>/><label for="Gender1"><%=GetText("C0012")%></label></td>
												<td><input id="Gender2" type="radio" name="sex"  <%=(usm.Gender!="1"?"checked=\"checked\"":"") %>/><label for="Gender2"><%=GetText("C0013")%></label></td>
											</tr>
										</table>
										<span id="SGender" style="color: Red;display:none" class="validMsg"><%=GetText("UR029")%></span>
									</td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("C0098")%></td>
									<td><div> <DT:DATEPANEL id="BOD" runat="server" Width="250" MaxYear="1995" MinYear="1930" Text="0-0-0" TextYMD="Year,Month,Day"></DT:DATEPANEL><span name="__V_S" vt="0" elt1="<%=BOD.ClientID%>" reg="\d{1,4}-\d{1,4}-\d{1,4}" style="color: Red;display:none" class="validMsg"><%=GetText("TP305")%></span></div><input id="IsShowBod" type="checkbox" <%=usm.IsShowBod?"": "checked=\"checked\""%> /> <label for="IsShowBod"><%=GetText("TP104")%></label></td>
								</tr>
								<tr>
								<td><%=GetText("聊天工具") %></td>
								<td><select id="IMType">
													<option value="1" selected="selected">Skype</option>
													<option value="2" >MSN Messenger</option>
													<option value="3" >Yahoo! Messenger</option>
													<option value="4" >AOL Instant Messenger</option>
													<option value="5" >ICQ</option>
													<option value="6" >Google Talk</option>
												</select>
								<input type="text" id="IMValue" value="" /><span name="__V_S" vt="0" elt1="IMValue" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("Input the ID of the instant messenger.")%></span></td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("PB033")%></td>
									<td><select class="common220" id="Education"><option value=""><%=GetText("C0061")%>...</option>
									        <option value="1" <%=(usm.Education=="1"?"selected=\"selected\"":"") %> ><%=GetText("ST096")%></option>
											<option value="2" <%=(usm.Education=="2"?"selected=\"selected\"":"") %>  ><%=GetText("ST097")%></option>
											<option value="3" <%=(usm.Education=="3"?"selected=\"selected\"":"") %> ><%=GetText("ST098")%></option>
											<option value="4" <%=(usm.Education=="4"?"selected=\"selected\"":"") %>  ><%=GetText("ST099")%></option>
											<option value="5" <%=(usm.Education=="5"?"selected=\"selected\"":"") %>  ><%=GetText("ST100")%></option>
											<option value="6" <%=(usm.Education=="6"?"selected=\"selected\"":"") %>  ><%=GetText("ST101")%></option></select><span name="__V_S" vt="0" elt1="Education" reg=".{1,2}" style="color: Red;display:none" class="validMsg"><%=GetText("TP306")%></span></td>
								</tr>
								<tr>
									<td valign="top"><%=GetText("ST062")%></td>
									<td><select id="OccupationCat" class="common220" onchange="OccupationCatChange()">
									<option value="" selected="selected"><%=GetText("C0061")%>...</option>
									<option value="1"<%=(usm.OccupationCat=="1"?"selected=\"selected\"":"") %>><%=GetText("ST063")%></option>
									<option value="2"<%=(usm.OccupationCat=="2"?"selected=\"selected\"":"") %>><%=GetText("ST064")%></option>
									<option value="3"<%=(usm.OccupationCat=="3"?"selected=\"selected\"":"") %>><%=GetText("C0087")%></option>
									</select>
									<span name="__V_S" vt="0" elt1="OccupationCat" reg=".{1,2}" style="color: Red;display:none" class="validMsg"><%=GetText("TP307")%></span>
									<select id="Occupation1" style="display:<%=(usm.OccupationCat=="2"?"":"none") %>" class="common220">
									<option value="" selected="selected">[<%=GetText("ST071")%>...]</option>
									<option value="901" <%=(usm.Occupation=="901"?"selected=\"selected\"":"") %>><%=GetText("ST065")%></option>
									<option value="902" <%=(usm.Occupation=="902"?"selected=\"selected\"":"") %>><%=GetText("ST066")%></option>
									<option value="903" <%=(usm.Occupation=="903"?"selected=\"selected\"":"") %>><%=GetText("ST067")%></option>
									<option value="904" <%=(usm.Occupation=="904"?"selected=\"selected\"":"") %>><%=GetText("ST068")%></option>
									<option value="905" <%=(usm.Occupation=="905"?"selected=\"selected\"":"") %>><%=GetText("ST069")%></option>
									<option value="906" <%=(usm.Occupation=="906"?"selected=\"selected\"":"") %>><%=GetText("ST070")%></option>
									</select>
									<select id="Occupation2" style="display:<%=(usm.OccupationCat=="1"?"":"none") %>" class="common220">
									<option value=""  selected="selected">[<%=GetText("ST072")%>...]</option>
									<option value="1" <%=(usm.Occupation=="1"?"selected=\"selected\"":"") %> ><%=GetText("ST073")%></option>
									<option value="2" <%=(usm.Occupation=="2"?"selected=\"selected\"":"") %> ><%=GetText("ST074")%></option>
									<option value="3" <%=(usm.Occupation=="3"?"selected=\"selected\"":"") %> ><%=GetText("ST075")%></option>
									<option value="4" <%=(usm.Occupation=="4"?"selected=\"selected\"":"") %> ><%=GetText("ST076")%></option>
									<option value="5" <%=(usm.Occupation=="5"?"selected=\"selected\"":"") %> ><%=GetText("ST077")%></option>
									<option value="6" <%=(usm.Occupation=="6"?"selected=\"selected\"":"") %> ><%=GetText("ST078")%></option>
									<option value="7" <%=(usm.Occupation=="7"?"selected=\"selected\"":"") %> ><%=GetText("ST079")%></option>
									<option value="8" <%=(usm.Occupation=="8"?"selected=\"selected\"":"") %> ><%=GetText("ST080")%></option>
									<option value="9" <%=(usm.Occupation=="9"?"selected=\"selected\"":"") %> ><%=GetText("ST081")%></option>
									<option value="10"<%=(usm.Occupation=="10"?"selected=\"selected\"":"") %> ><%=GetText("ST082")%></option>
									<option value="11"<%=(usm.Occupation=="11"?"selected=\"selected\"":"") %> ><%=GetText("ST083")%></option>
									<option value="12"<%=(usm.Occupation=="12"?"selected=\"selected\"":"") %> ><%=GetText("ST084")%></option>
									<option value="13"<%=(usm.Occupation=="13"?"selected=\"selected\"":"") %> ><%=GetText("ST085")%></option>
									<option value="14"<%=(usm.Occupation=="14"?"selected=\"selected\"":"") %> ><%=GetText("ST086")%></option>
									<option value="15"<%=(usm.Occupation=="15"?"selected=\"selected\"":"") %> ><%=GetText("ST087")%></option>
									<option value="16"<%=(usm.Occupation=="16"?"selected=\"selected\"":"") %> ><%=GetText("ST088")%></option>
									<option value="17"<%=(usm.Occupation=="17"?"selected=\"selected\"":"") %> ><%=GetText("ST089")%></option>
									<option value="18"<%=(usm.Occupation=="18"?"selected=\"selected\"":"") %> ><%=GetText("ST090")%></option>
									<option value="19"<%=(usm.Occupation=="19"?"selected=\"selected\"":"") %> ><%=GetText("ST091")%></option>
									<option value="20"<%=(usm.Occupation=="20"?"selected=\"selected\"":"") %> ><%=GetText("ST092")%></option>
									<option value="21"<%=(usm.Occupation=="21"?"selected=\"selected\"":"") %> ><%=GetText("ST093")%></option>
									<option value="22"<%=(usm.Occupation=="22"?"selected=\"selected\"":"") %> ><%=GetText("ST094")%></option>
									</select></td>
								</tr>
							</table>
							</div>
							<div class="signup_recommend">
							<p><%=GetText("TP203")%></p>
							<table width="800" border="0" cellspacing="0" cellpadding="5" align="center">
								<tr>
									<td></td>
									<td><div class="floatl"><a id="btnSave" href="javascript:void(0);" style="text-decoration:none;" class="addbtn" <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"Tpstep()\"":"onclick=\"NotAffirm()\""%>><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("TP103")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div></td>
								</tr>
							</table>
							</div>
						</div>			
				</div>
			</div>
			<div class="clear"></div>
  		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var aa = document.getElementById('<%=BOD.ClientID%>');
var memberno="<%=memberno %>";
</script>